package lab02.test20;

import java.util.Scanner;

public class Test {
    //String类的split方法
    public static void main(String[] args) {
        Scanner reader =new Scanner(System.in);
        String str =reader.next();
        String regex ="\\D+";
        String words[] =str.split(regex);
        for (int i=0;i<=words.length;i++){
            System.out.println(words[i]);
        }
    }
}
